package payment

type Config struct {
	MerchantID string //商户号(需配置)
	SecretKey  string //加密密钥
	NotifyURL  string //回调地址
	IsSandbox  bool   //沙箱模式
}

type Payment interface {
	Pay(amount float64) (string, error)
	Refund(orderID string) (string, error)
}
